package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代码生成历史记录对象 code
 * 
 * @author shan
 * @date 2025-03-28
 */
public class Code extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 需求 */
    @Excel(name = "需求")
    private String input;

    /** 生成代码 */
    @Excel(name = "生成代码")
    private String output;

    /** 综合得分 */
    @Excel(name = "综合得分")
    private String score;

    /** 用户 */
    @Excel(name = "用户")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInput(String input) 
    {
        this.input = input;
    }

    public String getInput() 
    {
        return input;
    }
    public void setOutput(String output) 
    {
        this.output = output;
    }

    public String getOutput() 
    {
        return output;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("input", getInput())
            .append("output", getOutput())
            .append("score", getScore())
            .append("userName", getUserName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
